<script setup lang="ts">
interface IProps {
  status?: number
  record?: any
  showErrorMessage?: boolean
}
defineProps<IProps>()
</script>

<template>
  <div class="flex items-center">
    <span
      :style="{
        color: status === E_SEND_MESSAGE_STATUS.FAILED ? '#F53F3F' : 'none',
      }"
    >
      {{ getOptionLabel(status, sendMessageStatusOptions) }}
    </span>
    <!-- <cloud-tooltip
      v-if="showErrorMessage"
      :content="record.err_msg"
    >
      <i-icons-tips-circle-fill
        v-if="status === E_SEND_MESSAGE_STATUS.FAILED"
        class="ml-6px cursor-pointer"
        color="#F53F3F"
      />
    </cloud-tooltip> -->
  </div>
</template>
